import { GameTeamPK } from '@/services/game/GameController';
import { Card, Modal, Radio } from 'antd';
import React, { PropsWithChildren } from 'react';
/**
 * 赛事信息-选手
 */
interface Props {
  gameId?: string;
  onCancel: (colse: boolean) => void;
}

const GamePlayerDialog: React.FC<PropsWithChildren<Props>> = (props) => {
  const { onCancel, } = props;

  return (
    <Modal
      open={true}
      onCancel={() => onCancel(false)}
      onOk={()=>{}}
      width="40%"
      height="100%"
      title="选手"
      style={{ padding: 0, top: 10, alignItems: 'center' }}
    >
      <Card>
        <Radio.Group
          options={[
            { value: 1, label: 'A' },
            { value: 2, label: 'B' },
          ]}
        />
      </Card>
    </Modal>
  );
};
export default GamePlayerDialog;
